<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <title>UNIS Design System v4</title>
    <meta name="author" content="">
    <meta name="generator" content="">
    <link rel="stylesheet" href="css/unis.css">
    <script src="../js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="../js/import-htmt.js"></script>
    <script type="text/javascript" src="../js/vue.js"></script>
    <script type="text/javascript" src="../js/template.js"></script>
    <link href="../styles/monokai_sublime.min.css" rel="stylesheet">
</head>
<body>
<div style="width: 95%; margin: auto" id="childApp">
    <div class=" mt-4  pb-4 f-b " style="font-size: 24px">
        WISE basic
    </div>

    <div class="col-10 p-0 mb-4">
        <div>
            <table class="unis-data-table unis-table-no-border" v-fixedHead="{height:350,scrollbar:'scrollbar'}">
                <thead>
                <tr>
                    <th style="padding: 5px 5px">ID</th>
                    <th style="padding: 5px 5px">Company Name</th>
                    <th style="padding: 5px 5px">Last</th>
                    <th style="padding: 5px 5px">First</th>
                    <th style="padding: 5px 5px">Email</th>
                    <th style="padding: 5px 5px">Email</th>
                    <th style="padding: 5px 5px">Email</th>
                    <th style="padding: 5px 5px">Email</th>
                    <th style="padding: 5px 5px">Email</th>
                    <th style="padding: 5px 5px">Email</th>
                </tr>
                </thead>
                <tbody>
                <tr v-for="(tbody, index) in 5" :key="index">
                    <td style="padding: 5px 5px">{{index}} </td>
                    <td style="padding: 5px 5px">Yoasdasur </td>
                    <td style="padding: 5px 5px">shipment</td>
                    <td style="padding: 5px 5px">First</td>
                    <td style="padding: 5px 5px">34408568asd8@qq.com</td>
                    <td style="padding: 5px 5px">34408568asd8@qq.com</td>
                    <td style="padding: 5px 5px">34408568asd8@qq.com</td>
                    <td style="padding: 5px 5px">34408568asd8@qq.com</td>
                    <td style="padding: 5px 5px">34408568asd8@qq.com</td>
                    <td style="padding: 5px 5px">34408568asd8@qq.com</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div style="font-size: 18px; margin-top:50px" class="f-b">
        Default
    </div>
    <dfault-vuew>
        <template v-slot:htm>
            <div class="d-flex flex-column" style="width: 100%">
                <div class="col-10 p-0">
                    <div style="height: 450px; " class="overflow-h-auto">
                        <table class="unis-data-table">
                            <thead>
                            <tr>
                                <th>ID</th>
                                <th>Company Name</th>
                                <th>User First</th>
                                <th>User Last</th>
                                <th>Email</th>
                                <th>Platform access</th>
                                <th>Create date</th>
                                <th>Create by</th>
                                <th>Last modify date</th>
                                <th>Last modify by</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr v-for="index in 16">
                                <td>{{index}}</td>
                                <td>[UNIS] Your shipment PRO#400004...</td>
                                <td>8582295099</td>
                                <td class="f-13 f-b ft-succeedHint" v-if="index !=4">Success</td>
                                <td class="f-13 f-b ft-red900" v-if="index ==4">Fail</td>
                                <td>12/20/20 9:52 AM</td>
                                <td>12/20/20 9:52 AM</td>
                                <td>12/20/20 9:52 AM</td>
                                <td>12/20/20 9:52 AM</td>
                                <td>12/20/20 9:52 AM</td>
                                <td>Twilio.text</td>
                            </tr>

                            </tbody>
                        </table>
                    </div>
                    <div class="unis-pager wid-100 d-flex  justify-content-end">
                        <div class="paginate mb-2 d-flex flex-column justify-content-center">
                            <ul class="paginate-sm d-flex justify-content-center align-items-center">
                                <li class="p-2">10 Results</li>
                                <li class="pr-2">Show:</li>
                                <li class="pr-3">
                                    <button class="unis-select unis-dropdown h-24">10
                                        <ul>
                                            <li>5</li>
                                            <li>10</li>
                                            <li>15</li>
                                            <li>20</li>
                                        </ul>
                                    </button>
                                </li>
                                <li onclick="" class="prev">
                                    <button class="unis-btn default ">
                                        <i class="icon-15"></i>
                                    </button>
                                </li>
                                <li onclick="">
                                    <button class="suspend  unis-btn">1...3</button>
                                </li>
                                <li onclick="" class="prev">
                                    <button class="suspend present unis-btn">4</button>
                                </li>
                                <li onclick="" class="prev">
                                    <button class="suspend  unis-btn">5...7</button>
                                </li>
                                <li onclick="" class="next">
                                    <button class="unis-btn default ">
                                        <i class="icon-8"></i>
                                    </button>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>

        </template>
        <template v-slot:htmcode>
            <div style="height: 600px; " class="overflow-h-auto">
                <table class="unis-data-table">
                    <thead>
                    <tr>
                        <th>ID</th>
                        <th>Company Name</th>
                        <th>User First</th>
                        <th>User Last</th>
                        <th>Email</th>
                        <th>Platform access</th>
                        <th>Create date</th>
                        <th>Create by</th>
                        <th>Last modify date</th>
                        <th>Last modify by</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr v-for="index in 16">
                        <td>{{index}}</td>
                        <td>[UNIS] Your shipment PRO#400004...</td>
                        <td>8582295099</td>
                        <td class="f-13 f-b ft-succeedHint" v-if="index !=4">Success</td>
                        <td class="f-13 f-b ft-red900" v-if="index ==4">Fail</td>
                        <td>12/20/20 9:52 AM</td>
                        <td>12/20/20 9:52 AM</td>
                        <td>12/20/20 9:52 AM</td>
                        <td>12/20/20 9:52 AM</td>
                        <td>12/20/20 9:52 AM</td>
                        <td>Twilio.text</td>
                    </tr>

                    </tbody>
                </table>
            </div>
            <div class="unis-pager wid-100 d-flex  justify-content-end">
                <div class="paginate mb-2 d-flex flex-column justify-content-center">
                    <ul class="paginate-sm d-flex justify-content-center align-items-center">
                        <li class="p-2">10 Results</li>
                        <li class="pr-2">Show:</li>
                        <li class="pr-3">
                            <button class="unis-select unis-dropdown h-24">10
                                <ul>
                                    <li>5</li>
                                    <li>10</li>
                                    <li>15</li>
                                    <li>20</li>
                                </ul>
                            </button>
                        </li>
                        <li onclick="" class="prev">
                            <button class="unis-btn default ">
                                <i class="icon-15"></i>
                            </button>
                        </li>
                        <li onclick="">
                            <button class="suspend  unis-btn">1...3</button>
                        </li>
                        <li onclick="" class="prev">
                            <button class="suspend present unis-btn">4</button>
                        </li>
                        <li onclick="" class="prev">
                            <button class="suspend  unis-btn">5...7</button>
                        </li>
                        <li onclick="" class="next">
                            <button class="unis-btn default ">
                                <i class="icon-8"></i>
                            </button>
                        </li>
                    </ul>
                </div>
            </div>
        </template>
    </dfault-vuew>


    <div style="font-size: 18px; margin-top:50px" class="f-b">
        Fixed meter
    </div>

    <dfault-vuew>
        <template v-slot:htm>
            <div class="d-flex flex-column" style="width: 100%">
                <div class="col-10 p-0 mb-4">
                    <div>
                        <table class="unis-data-table unis-table-no-border" v-fixedHead="{height:350,scrollbar:'scrollbar'}">
                            <thead>
                            <tr>
                                <th style="padding: 5px 15px">ID</th>
                                <th style="padding: 5px 15px">Company Name</th>
                                <th style="padding: 5px 15px">Last</th>
                                <th style="padding: 5px 15px">First</th>
                                <th style="padding: 5px 15px">Email</th>
                                <th style="padding: 5px 15px">Email</th>
                                <th style="padding: 5px 15px">Email</th>
                                <th style="padding: 5px 15px">Email</th>
                                <th style="padding: 5px 15px">Email</th>
                                <th style="padding: 5px 15px">Email</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr v-for="(tbody, index) in tableTbody" :key="index">
                                <td style="padding: 5px 15px">{{index}} </td>
                                <td style="padding: 5px 15px">Yoasdasur </td>
                                <td style="padding: 5px 15px">shipment</td>
                                <td style="padding: 5px 15px">First</td>
                                <td style="padding: 5px 15px">34408568asd8@qq.com</td>
                                <td style="padding: 5px 15px">34408568asd8@qq.com</td>
                                <td style="padding: 5px 15px">34408568asd8@qq.com</td>
                                <td style="padding: 5px 15px">34408568asd8@qq.com</td>
                                <td style="padding: 5px 15px">34408568asd8@qq.com</td>
                                <td style="padding: 5px 15px">34408568asd8@qq.com</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

        </template>
        <template v-slot:htmcode>
            <div style="height: 600px; " class="overflow-h-auto">
                <table class="unis-data-table">
                    <thead>
                    <tr>
                        <th>ID</th>
                        <th>Company Name</th>
                        <th>User First</th>
                        <th>User Last</th>
                        <th>Email</th>
                        <th>Platform access</th>
                        <th>Create date</th>
                        <th>Create by</th>
                        <th>Last modify date</th>
                        <th>Last modify by</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr v-for="index in 16">
                        <td>{{index}}</td>
                        <td>[UNIS] Your shipment PRO#400004...</td>
                        <td>8582295099</td>
                        <td class="f-13 f-b ft-succeedHint" v-if="index !=4">Success</td>
                        <td class="f-13 f-b ft-red900" v-if="index ==4">Fail</td>
                        <td>12/20/20 9:52 AM</td>
                        <td>12/20/20 9:52 AM</td>
                        <td>12/20/20 9:52 AM</td>
                        <td>12/20/20 9:52 AM</td>
                        <td>12/20/20 9:52 AM</td>
                        <td>Twilio.text</td>
                    </tr>

                    </tbody>
                </table>
            </div>
            <div class="unis-pager wid-100 d-flex  justify-content-end">
                <div class="paginate mb-2 d-flex flex-column justify-content-center">
                    <ul class="paginate-sm d-flex justify-content-center align-items-center">
                        <li class="p-2">10 Results</li>
                        <li class="pr-2">Show:</li>
                        <li class="pr-3">
                            <button class="unis-select unis-dropdown h-24">10
                                <ul>
                                    <li>5</li>
                                    <li>10</li>
                                    <li>15</li>
                                    <li>20</li>
                                </ul>
                            </button>
                        </li>
                        <li onclick="" class="prev">
                            <button class="unis-btn default ">
                                <i class="icon-15"></i>
                            </button>
                        </li>
                        <li onclick="">
                            <button class="suspend  unis-btn">1...3</button>
                        </li>
                        <li onclick="" class="prev">
                            <button class="suspend present unis-btn">4</button>
                        </li>
                        <li onclick="" class="prev">
                            <button class="suspend  unis-btn">5...7</button>
                        </li>
                        <li onclick="" class="next">
                            <button class="unis-btn default ">
                                <i class="icon-8"></i>
                            </button>
                        </li>
                    </ul>
                </div>
            </div>
        </template>
    </dfault-vuew>

    <div style="height: 80px;">

    </div>

    <div class="d-flex flex-column" style="width: 100%">
        <div class="col-10 p-0">
            <table class="unis-data-table unis-table-no-border" v-fixedHead="{height:350,scrollbar:'scrollbar',scrollBarWidth:5}">
                <thead>
                <tr>
                    <th style="padding: 5px 15px" :fixed="mapFixed['ID']" @click="fixed('ID')">ID  </th>
                    <th style="padding: 5px 15px" :fixed="mapFixed['Company Name']">Company Name</th>
                    <th style="padding: 5px 15px" :fixed="mapFixed['Last']">Last</th>
                    <th style="padding: 5px 15px" :fixed="mapFixed['First']">First</th>
                    <th style="padding: 5px 15px" :fixed="mapFixed['Email']">Email</th>
                    <th style="padding: 5px 15px" :fixed="mapFixed['Platform access']">Platform access</th>
                </tr>
                </thead>
                <tbody>
                <tr v-for="(tbody, index) in tableTbody" :key="index">
                    <td style="padding: 5px 15px">{{index}}</td>
                    <td style="padding: 5px 15px; white-space:nowrap">{{tbody.name}}</td>
                    <td style="padding: 5px 15px; white-space:nowrap">{{tbody.Last}}</td>
                    <td style="padding: 5px 15px; white-space:nowrap ">{{tbody.First}}</td>
                    <td style="padding: 5px 15px; white-space:nowrap ">{{tbody.Email}}</td>
                    <td style="padding: 5px 15px ; white-space:nowrap">{{tbody.Platform}}</td>
                </tr>
                </tbody>
            </table>

        </div>
        <div class="col-10 p-0">
            <div class="unis-pager wid-100 d-flex  justify-content-end">
                <div class="paginate mb-2 d-flex flex-column justify-content-center">
                    <ul class="paginate-sm d-flex justify-content-center align-items-center">
                        <li class="p-2">10 Results</li>
                        <li class="pr-2">Show:</li>
                        <li class="pr-3">
                            <button class="unis-select unis-dropdown h-24">10
                                <ul>
                                    <li>5</li>
                                    <li>10</li>
                                    <li>15</li>
                                    <li>20</li>
                                </ul>
                            </button>
                        </li>
                        <li onclick="" class="prev">
                            <button class="unis-btn default ">
                                <i class="icon-15"></i>
                            </button>
                        </li>
                        <li onclick="">
                            <button class="suspend  unis-btn">1...3</button>
                        </li>
                        <li onclick="" class="prev">
                            <button class="suspend present unis-btn">4</button>
                        </li>
                        <li onclick="" class="prev">
                            <button class="suspend  unis-btn">5...7</button>
                        </li>
                        <li onclick="" class="next">
                            <button class="unis-btn default ">
                                <i class="icon-8"></i>
                            </button>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <div style="height: 80px;">

    </div>

</div>

<script src="../js/beautify2.js" type="text/javascript"></script>
<script src="../js/beautify-css2.js" type="text/javascript"></script>
<script src="../js/beautify-html2.js" type="text/javascript"></script>
<script src="../js/highlight.min.js"></script>
<script src="../js/lodash.js"></script>
<script src="../js/filexTableComponent.js"></script>
<script type="text/javascript">
  Vue.use(MyPlugin);
  var components = {
    template: dfaulthtml,
    props: {
      layout: {
        default: 1,
      }
    },
    data: function () {
      return {
        idShowCode: false,
        codeHtml: ''
      }
    },
    beforeCreate(){
//      pageBeforeCreate();
    },
    methods: {
      showCode: function () {
        this.idShowCode = !this.idShowCode;
      },
      mapFixed: function (title) {
        console.log(title);
      },

    }
  };

  new Vue({
    el: "#childApp",
    components: {'DfaultVuew': components},
    data: function () {
      return {
        isUpdate: false,
        idShowCode: false,
        tableTbody: [
          {
            name: '[UNIS] Your asdsshipment This is just an estimate. Actual price may',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  This is just an estimate. Actual price may vary depending on charges .',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] All quotes are valid for 30 days. Department of Energy Diesel FSC adjusted weekly.',
            Last: ' Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asdasdasd8@asasdasqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] All quotes are valid for 30 days. Department of Energy Diesel FSC adjusted weekly.',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] All quotes are valid for 30 days. Department',
            Last: 'Depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] All quotes are valid for 30 days. Department',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] estimate. Actual price',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] YThis is just an estimate. Actual price may vary',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] This is just an estimate. Actual price may vary.',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Quote Details minimum charge apply',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Quote Details minimum charge apply',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Quote Details minimum charge apply',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] This is just an estimate. Actual price',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          }

        ],
        mapFixed:{'ID': true,'Email':true, 'Platform access':true}
      };
    },
    computed: {},
    mounted: function() { window.mapFixedRows = this.mapFixedRows; },
    methods: {
      showCode: function () {
        this.idShowCode = !this.idShowCode;
      },
      option1: function () {
        this.tableTbody= [
          {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },   {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: 'Note: This is just an estimate. Actual price may vary depending on charges incurred at pickup or delivery.',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },

        ]
      },
      option2: function () {
        this.tableTbody= [
          {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: '8582295099aaaaaa',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: '8582asdas295099ddddddddd',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          }
        ]

      },
      option3: function () {
        this.tableTbody= [
          {
            name: '[UNIS] Your asdsshipment PRO#400004...',
            Last: 'shipmentROYoasdaPROYoasdasurshipment',
            First: 'Fail',
            Email: '344085688@asdqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS]  mentasdsshi...',
            Last: 'shipmentROYoasdaPROYoasdasurshipment',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004...',
            Last: 'Yoasdasur shipmentROYoasdaPROYoasdasurshipment PROv Yoasdasur shipment PROYoasdasurshipment PRO',
            First: 'Fail',
            Email: 'ss@asasdasqq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004...',
            Last: 'shipmentROYoasdaPROYoasdasurshipment',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004 shipment shipment shipment',
            Last: '8582asdas295099ddddddddd ',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004...',
            Last: 'shipmentROYoasdaPROYoasdasurshipment Yoasdasur shipmentshipmentshipment  shipment',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004...',
            Last: '8582asdas295099ddddddddd',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004...',
            Last: '8582asdas295099ddddddddd',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004...',
            Last: '8582asdas295099ddddddddd',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004...',
            Last: '8582asdas295099ddddddddd',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004...',
            Last: '8582asdas295099ddddddddd',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004...',
            Last: '8582asdas295099ddddddddd',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          },
          {
            name: '[UNIS] Yoasdasur shipment PRO#400004...',
            Last: '8582asdas295099ddddddddd',
            First: 'Fail',
            Email: '34408568asd8@qq.com',
            Platform: '12/20/20 9:52 AM'
          }

        ]
      },
      fixed: function (title) {
        console.log(title);
      },
      option4: function (title) {
        this.mapFixed = {'First': true, 'Last': true};
        this.isUpdate = !this.isUpdate;
      },
      option5: function (title) {
        this.mapFixed = {'Platform access': true, 'First': true};
        this.isUpdate = !this.isUpdate;
      },
      mapFixedRows: function (title) {
        this.mapFixed[title] =!this.mapFixed[title];
        this.isUpdate = !this.isUpdate;
      },
    },
    directives: {
      tableget: {
        inserted: function (el, binding) {
          console.log(el);
        },
        bind: function (el) { //1.被绑定
          //做绑定的准备工作。比如添加事件监听器，或是其他只需要执行一次的复杂操作
        },
        inserted: function (el) { //2.绑定到节点

          var tableHead = el.getElementsByClassName('unis-data-table')[0];
          var tableHeadColgroup = tableHead.querySelectorAll('colgroup')[0];
          var tableBodey = el.getElementsByClassName('unis-data-table')[1];
          for (var i = 0; i < tableBodey.rows[0].cells.length; i++) {
            var objDiv = document.createElement("col");
            var cells = tableBodey.rows[0].cells[i];
            objDiv.width = cells.offsetWidth;
            tableHeadColgroup.appendChild(objDiv);
            cells.width = cells.offsetWidth;
          }
          var soll = document.createElement("col");
          soll.width = '17';
          tableHeadColgroup.appendChild(soll);


        },
        update: function () { //3.组件更新
          //根据获得的新值执行对应的更新。对于初始值也会调用一次
//           console.log('3 - update');
//           var table = el.getElementsByClassName('unis-data-table')[1];
//           var tdsWitdhs = []
//           for (var i = 0; i < table.rows[0].cells.length; i++) {
//             console.log(table.rows[0].cells[i].offsetWidth);
//             table.rows[0].cells[i].width = table.rows[0].cells[i].offsetWidth;
//           }
        },
        componentUpdated: function (el) { //4.组件更新完成
//           var table = el.getElementsByClassName('unis-data-table')[1];
//           var tdsWitdhs = []
//           for (var i = 0; i < table.rows[0].cells.length; i++) {
//             console.log(table.rows[0].cells[i].offsetWidth);
//             table.rows[0].cells[i].width = table.rows[0].cells[i].offsetWidth;
//           }
//           console.log('4 - componentUpdated');
        },
        unbind: function () { //5.解绑
          //做清理操作。比如移除bind时绑定的事件监听器
          console.log('5 - bind');
        }
      },
    }
  });




</script>
<script src="../js/cods.js"></script>
</body>
</html>